﻿#include "AMeshVS_Mesh.h"

AMeshVS_Mesh::AMeshVS_Mesh(const Standard_Boolean theIsAllowOverlapped): MeshVS_Mesh(theIsAllowOverlapped) {
    // 拾取选项
    SetMeshSelMethod(MeshVS_MSM_PRECISE);

    Handle(MeshVS_Drawer) drawer = GetDrawer();
    drawer->SetColor(MeshVS_DA_InteriorColor, Quantity_NOC_GREEN);
    drawer->SetColor(MeshVS_DA_EdgeColor, Quantity_NOC_GREEN);

    // 不显示顶点，显示边
    drawer->SetBoolean(MeshVS_DA_DisplayNodes, Standard_False);
    drawer->SetBoolean(MeshVS_DA_ShowEdges, Standard_False);
}
